T=server
SRC=server.c head.c mysql.c
CC=gcc

$(T) : $(SRC)
	$(CC) $^ -o $(T) -lpthread -lmysqlclient

.PHONY : clean
clean:
	rm server
	
